<template>
  <view class="main">
    <button open-type="contact">
      <view class="b">
        <view class="icon">
          <image src="/static/icon/op1.png" mode="aspectFill" />
        </view>
        <view class="box">
          <view class="n over-1">在线咨询</view>
          <view class="m over-1">芒种局装为您服务</view>
        </view>
      </view>
    </button>
  </view>
</template>

<script setup>

</script>
<style lang="scss" scoped>
button {
  padding: 0;
  margin: 0;
}

button::after {
  border: none;
}


.b {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 20rpx ;

  .box {
    display: flex;
    flex-direction: column;
  }

  .n {
    font-size: 30rpx;
    color: #222;
    text-align: left;
  }

  .m {
    font-size: 25rpx;
    text-align: left;
    color: #aaa;
  }
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30rpx;

  image {
    width: 82rpx;
    height: 82rpx;
    border-radius: 50%;
  }
}
</style>